package fr.vincent.aquarium.metier.animal;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import fr.vincent.aquarium.metier.animal.Animal;

@Entity
@Table(name = "Animal")
public abstract class Animal implements Serializable {

	private static final long serialVersionUID = -409733265964246464L;

	protected String nom;
	protected String nomScientifique;
	protected String famille;
	protected String alimentation;
	

	@Column(name = "nom", nullable = false)
	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}
	
	@Column(name = "nomScientifique", nullable = false)
	public String getNomScientifique() {
		return nomScientifique;
	}

	public void setNomScientifique(String nomScientifique) {
		this.nomScientifique = nomScientifique;
	}
	
	@Column(name = "famille", nullable = false)
	public String getFamille() {
		return famille;
	}

	public void setFamille(String famille) {
		this.famille = famille;
	}
	
	@Column(name = "alimentation", nullable = false)
	public String getAlimenation() {
		return alimentation;
	}

	public void setAlimentation(String alimentation) {
		this.alimentation = alimentation;
	}

}
